<%= error_messages_for :user %>
<% form_for @user do |f| -%>
<p><label for="login">Login</label><br/>
<%= f.text_field :login %></p><br />

<p><label for="email">Email</label><br/>
<%= f.text_field :email %></p><br />

<p><label for="password">Password</label><br/>
<%= f.password_field :password %></p><br />

<p><label for="password_confirmation">Confirm Password</label><br/>
<%= f.password_field :password_confirmation %></p><br />

<p><label for="agency">Agency</label><br/>
<%= f.select :agency_id, Agency.find_for_select %></p><br />

<p><label for="admin">Admin</label> <%= f.check_box :admin %></p><br />

<p><%= submit_tag 'Update' %></p>
<% end -%>
